//
// Created by DELL on 2022/4/18.
//
#pragma once

#include "VulkanDefine.h"
#include "MathHelp.h"
#include <spdlog/spdlog.h>

// general information
#define LOGI(...) spdlog::info("{}, <{}:{}>" , fmt::format(__VA_ARGS__), __FILE__, __LINE__)
// error
#define LOGE(...) spdlog::error("{}, <{}:{}>", fmt::format(__VA_ARGS__), __FILE__, __LINE__)
// warning
#define LOGW(...) spdlog::warn("{}, <{}:{}>", fmt::format(__VA_ARGS__), __FILE__, __LINE__)


BEGIN_NS_VULKAN



END_NS_VULKAN

using ByteBuffer = std::vector<char>;

std::string readFileToString(const std::string& filePath);
ByteBuffer readFile(const std::string& filePath);

